package com.example.feitiansys.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
public class IndexController {
    @GetMapping
    public String show(){
        return "myindex";
    }
    @RequestMapping("/toshow")
    public String toshow(){
        return "myindex";
    }
    @RequestMapping("/product")
    public String product(){
        return "product";
    }
}
